﻿@model RegisterViewModel
@{
    ViewData["Title"] = "Register";
}

<h2>@ViewData["Title"]</h2>

<div class="row">
    <div class="col-md-12">

        <div class="alert alert-danger">
            <h4>Create a new account.</h4>
            Choose any fake email , we use it only to save wizard state.
        </div>

        <form asp-route-returnUrl="@ViewData["ReturnUrl"]" method="post">           
            <hr />
            <div asp-validation-summary="All" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="Email"></label>
                <input asp-for="Email" class="form-control" />
                <span asp-validation-for="Email" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label  for="Password">Password</label>
                <input  name="Password" id="Password" value="P@ssw0rd" class="form-control" disabled="disabled" />
            </div>
            <button type="submit" class="btn btn-default">Register</button>
        </form>
    </div>
</div>

@section Scripts {
    @await Html.PartialAsync("_ValidationScriptsPartial")
}
